-
Notifications
You must be signed in to change notification settings - Fork 2
V2 #15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- Major refactoring - Components support - Config now do not instantiate logger instances, that's done in bootstrap - LogEntry is now RequestContext and includes additional fields like 'model', 'user_info', 'extra' - config.check_api_key renamed to config.api_key_check - Config loaders: toml, yaml, json, py; Custom config loaders may be registered via "config.loaders" entry point - Bootstrap messaging reworked - Substituting env:vars now is done via utils.replace_env_strings_recursive - lm_proxy.loggers.log_writers.JsonLogWriter moved to lm_proxy.loggers.JsonLogWriter - API check functions now can return additional data in a tuple (treated as user_info)
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|

configmodule no longer instantiates logger instances — this is now handled in thebootstrapprocessLogEntryhas been renamed toRequestContextand now includes additional fields such asmodel,user_info, andextraconfig.check_api_keyrenamed toconfig.api_key_checkconfig.loadersentry pointutils.replace_env_strings_recursivelm_proxy.loggers.log_writers.JsonLogWritermoved tolm_proxy.loggers.JsonLogWriteruser_info)